{extends file='base.tpl'}
{block name=additional_css}
    <link rel="stylesheet" hreflang="en" type="text/css" media="screen"
        href="/html/login/static/css/module.css"/>
{/block}
{block name=additional_js}
    <script charset="UTF-8" src="/html/login/static/js/module.js"></script>
{/block}
{block name=content}
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span4"></div>
            <div class="span4" id="login_form_box">
                <form id="login_form" accept-charset="UTF-8" name="login_form"
                action="login.php" method="post"
                enctype="application/x-www-form-urlencoded">
                    <legend>Login</legend>
                    <div class="controls">
                        <input type="text" id="username"
                            name="username" required="required"
                            placeholder="nombre de usuario"/>
                    </div>
                    <div class="controls">
                        <div class="input-append">
                            <input type="password" id="password"
                                name="password" required="required"
                                placeholder="contraseña"/>
                            <button type="submit" class="btn btn-primary">Entrar</button>
                        </div>
                    </div>
                </form>
                {if !empty($error)}
                    <div class="alert alert-error">
                        <button type="button" class="close" data-dismiss="alert">&times;</button>
                        [{$error}]<br/>{$msg}
                    </div>
                {/if}
            </div>
            <div class="span4"></div>
        </div>
    </div>
{/block}
